package com.mark.web.sys.entity.po;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
/**
 * @Description: 系统用户信息和用户表对应
 * @Author: Kingsley: 08：46
 * @CreateDate: 2018/12/2 19
 * @Version: 2.0
 * @Copyright : 豆浆油条个人非正式工作室
 * 注：因为当前的用户信息需要存储在Redis中，所以需要进行序列化
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class User  implements Serializable{
    private static final long serialVersionUID = -3646597781251546901L;

    private Integer id;

    private Integer fkRoleId;

    private Integer fkDeptId;

    private String username;

    private String password;

    private String email;

    private String phone;

    private String userImg;

    private String question;

    private String answer;

    private Short gender;

    private Integer enableStatus;

    private Date createTime;

    private Date lastEditTime;

}